package com.atech.ebayadmin.system.dao;

import java.util.List;
import com.atech.ebayadmin.system.model.Role;
import com.atech.ebayadmin.system.model.SystemConfig;
import com.atech.ebayadmin.system.model.User;

public interface ISystemDAO {

    public List<SystemConfig> listSystemConfig()throws Exception;
    public boolean isHasPermission(Integer roleId,String url);
    public List<String> listAllPermission()throws Exception;//取出所有需要校验的权限URL
    public List<Role> listAllRole()throws Exception;
    
    public Role getRole(Integer roleId)throws Exception;
    
}
